<!-- 主页 -->
<template>
  <div class="view_bg_default">
    <van-tabbar
      route
      :active-color="pageCfg.tabSelectColor"
      :inactive-color="pageCfg.tabSelectColor"
    >
      <van-tabbar-item replace to="/tabbar/home" icon="home-o">创绿</van-tabbar-item>
      <van-tabbar-item replace to="/tabbar/mycenter" icon="search">我的</van-tabbar-item>
    </van-tabbar>
    <router-view></router-view>
  </div>
</template>

<script>
import Vue from "vue";
import { Tabbar, TabbarItem } from "vant";
Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
  data() {
    return {};
  }
};
</script>

<style scoped>
</style>
